SG Window | Globals Object |
RegisterClass Method |
Properties Methods Events Constants Error Codes |
The RegisterClass method registers a window class for subsequent use in calls to the Create method of the Window object. Returns string that uniquely identifies the class being registered.
object.RegisterClass(style As ClassStyle)
Part | Description |
object | The object is expression that evaluates to the Globals object. |
style | Optional. New window class style. Class styles are constants from ClassStyle enumeration. |
All window classes that an application registers are unregistered when it terminates.
Windows 95: All window classes that a DLL registers are unregistered when the DLL is unloaded.
Windows NT: Windows classes that a DLL registers are not unregistered when the DLL is unloaded.